#!/bin/bash
java -cp /sas0/liumin/pkg/postgresql.jar:/sas0/liumin/copy/merge_new/com.springsource.slf4j.api-1.6.1.jar:/sas0/liumin/copy/merge_new/HikariCP-3.4.5.jar:. Import_tool_v3_peak -F ../jdbcconfig.properties -ti tb_cddtl_cust_label_tmp_0001-tb_cddtl_cust_label_tmp_0020  -tm tb_cddtl_cust_label_0001-tb_cddtl_cust_label_0020 -f ../data1_500000/tb_cddtl_cust_label_tmp_0001-../data1_500000/tb_cddtl_cust_label_tmp_0020 -S "," --insert_merge&
for i in {2..10}
do
    java -cp /sas0/liumin/pkg/postgresql.jar:/sas0/liumin/copy/merge_new/com.springsource.slf4j.api-1.6.1.jar:/sas0/liumin/copy/merge_new/HikariCP-3.4.5.jar:. Import_tool_v3_peak -F ../jdbcconfig.properties -ti tb_cddtl_cust_label_tmp_0001-tb_cddtl_cust_label_tmp_0020  -tm tb_cddtl_cust_label_0001-tb_cddtl_cust_label_0020 -f ../data${i}_500000/tb_cddtl_cust_label_tmp_0001-../data${i}_500000/tb_cddtl_cust_label_tmp_0020 -S "," --insert_merge  --memory_tracking_mode 0&
done

